﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MShop.Web.Models.ChangePasswordModel>" %>

<asp:Content ID="Content3" ContentPlaceHolderID="cphMeta" runat="server">
    <link type="text/css" rel="stylesheet" href="/css/userCenter.css" />
</asp:Content>
<asp:Content ID="changePasswordContent" ContentPlaceHolderID="MainContent" runat="server">
 <% using (Html.BeginForm())
                       { %>
    <div id="content" class="ovfl">
        <div id="left" class="side fl">
            <%=Html.Action("menu")%>
        </div>
        <div id="right" class="main fr">
            <div class="main_ct personal">
                <ul  >
                    <li>
                        <h2 class="title">
                            修改密码
                        </h2>
                        <%= Html.ValidationSummary(true, "密码修改不成功.") %>
                        密码最少<%= ViewData["PasswordLength"] %>位 
                   
                    <table class="userInfo">
                        <tr>
                            <td class="text_right">
                                <%= Html.LabelFor(m => m.OldPassword) %>：
                            </td>
                            <td>
                                <%= Html.EditorFor(m => m.OldPassword) %>
                                <%= Html.ValidationMessageFor(m => m.OldPassword) %>
                            </td>
                        </tr>
                        <tr>
                            <td class="text_right">
                                <%= Html.LabelFor(m => m.NewPassword) %>：
                            </td>
                            <td>
                                <%= Html.EditorFor(m => m.NewPassword)%>
                                <%= Html.ValidationMessageFor(m => m.NewPassword) %>
                            </td>
                        </tr>
                        <tr>
                            <td class="text_right">
                                <%= Html.LabelFor(m => m.ConfirmPassword) %>：
                            </td>
                            <td>
                                <%= Html.EditorFor(m => m.ConfirmPassword)%>
                                <%= Html.ValidationMessageFor(m => m.ConfirmPassword) %>
                            </td>
                        </tr>                       
                        <tr>
                            <td class="text_right">
                            </td>
                            <td>
                                <input type="submit" value="完成修改" class="btn_login" />
                            </td>
                        </tr>
                    </table>
                   
                    </li>
                </ul>
            </div>
        </div>
    </div>
     <% } %>
</asp:Content>
